package com.igeek.boot.entity;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.Date;
import java.util.List;
import java.util.Map;
import java.util.Set;

@Data
@ConfigurationProperties(prefix = "person")
public class Person {
    private String name;
    private int age;
    private Date birthday;
    private Boolean flag;

    private Car car;

    private Set<String> set;
    private List<Car> carList;

    private Map<String,Car> carMap;

    private List<Map<String,Car>> listMap;
    private Map<String,List<Car>> mapList;
}
